import { createRouter,createWebHashHistory } from "vue-router";

const router = createRouter({
    history:createWebHashHistory(),
    routes:[
      {path:'/',component:()=>import('./components/depot2.vue')},
      {path:'/workbench',component:()=>import('./components/depot2.vue')},
      {path:'/dd',component:()=>import('./components/depot3.vue')},
      
      {path:'/depot',
      component:()=>import('./components/depot.vue'),
      children:[
        {path:'teb1',component:()=>import('./components/depot2.vue')},
        {path:'A1',component:()=>import('./components/A1.vue')},
        {path:'A2',component:()=>import('./components/A2.vue')}
      ]}

            
            
           
          ]
})
export default router